import http from '@/utils/http.js'
// import request from '@/utils/request.js'
/**
 * 公共接口
 * getParentLocation, skuInfo, typeValue, orderDel
 * 
 * 
 * 
 */

// 绑定
export const SyncAdd = params => { return http({ url: '/api/dispatch/universal/basic-data/objects/sync-add/', method: 'post', data: params }) }
// export const SyncAdd = params => { return http({ url: '/api/dispatch/universal/basic-data/objects/sync-add/', method: 'get', params }) }
export const QueryLocation = params => { return http({ url: '/api/dispatch/universal/basic-data/objects/', method: 'get', params }) }
export const LocationInfo = params => { return http({ url: '/api/dispatch/universal/basic-data/locations/', method: 'get', params }) }
// 添加扫描
export const PUTWarehousingTaskScannedInfo = params => { return http({ url: '/wms_pc/warehousing/task/scanned/info', method: 'put', data: params }) }
// 清空容器and清空扫描
export const DELETEWarehousingTaskScannedInfo = params => { return http({ url: '/wms_pc/warehousing/task/scanned/info', method: 'delete', data: params }) }
// 解绑
export const syncDelet = params => { return http({ url: '/api/dispatch/universal/basic-data/objects/delete/', method: 'post', data: params }) }
// export const POSTWarehousingTaskScannedInfo = params => { return http({ url: '/wms_pc/warehousing/task/scanned/info', method: 'post', data: params }) }
// export const POSTWarehousingTaskScannedInfo = params => { return http({ url: '/wms_pc/warehousing/task/scanned/info', method: 'post', data: params }) }
